package com.atguigu.gmall.search.service;

import com.atguigu.gmall.search.Goods;
import com.atguigu.gmall.search.vo.SearchParamVo;
import com.atguigu.gmall.search.vo.SearchRespVo;

/**
 * @Description
 * @Return
 * @Author https://weiranyi.github.io
 * @Date Created in 2022-12-12 17:31
 **/
public interface SearchService {
    void upGoodsToES(Goods goods);

    void downGoodsToES(Long skuId);

    SearchRespVo search(SearchParamVo searchParamVo);

    void autoIncrementHotScore(Long skuId, Long score);
}
